package com.fxp.project.jiuselu.web.models.userbank.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fxp.project.jiuselu.web.models.userbank.entity.JslUserBankCardInfo;
import com.fxp.project.jiuselu.web.models.userbank.qo.BankCardSaveQo;
import com.fxp.project.jiuselu.web.models.userbank.vo.BankCardInfoVo;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author Jason.Wang
 * @since 2022-01-09
 */
public interface IJslUserBankCardInfoService extends IService<JslUserBankCardInfo> {

    /**
     * @Description 保存用户 银行卡信息
     * @Date 16:26 2022/1/9
     * @Param [bankCardSaveQo]
     * @return void
     * @Author M_
     **/
    void saveUserBankCard(BankCardSaveQo bankCardSaveQo,Long userId) ;

    /**
     * @Description 通过用户id 查询 银行卡列表
     * @Date 16:34 2022/1/9
     * @Param [userId]
     * @return java.util.List<com.fxp.project.jiuselu.web.models.userbank.vo.BankCardInfoVo>
     * @Author M_
     **/
    List<BankCardInfoVo> selectBankCardInfoListByUserId(Long userId) ;
}
